﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Battle
{
    public interface IBulletHitHandler 
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="bullet"></param>
        /// <param name="hitObj"></param>
        /// <returns>返回true会强制销毁子弹，false会执行子弹自己的销毁检测</returns>
        bool OnHit(IBullet bullet, ICanHitObj hitObj);
    }
}
